package cn.it.infrastructure.api;

import cn.it.infrastructure.api.dto.*;
import cn.it.infrastructure.type.model.Response;
import org.springframework.boot.autoconfigure.security.SecurityProperties;

import java.util.List;

/**
 * @Author Mzq
 * @description 用户服务接口
 * @createTime 2024/7/5
 */
public interface IUserApi {

    /**
     * 用户登录
     * @param request
     * @return
     */
    public Response<UserServiceResponseDTO> wxLogin(UserServiceRequestDTO request);

    /**
     * 用户下单
     * @param request
     * @return
     */
    public Response<UserPlacesOrderResponseDTO> placeOrder(UserPlacesOrderRequestDTO request);

    /**
     * 用户收藏
     * @param request
     * @return
     */
    public Response<List<GoodsServiceResponseDTO>> userFavorites(UserAdnGoodsDTO request);

    /**
     * 修改地址
     */
    public Response modifyAddress(UserServiceRequestDTO request);

}
